package com.qyhl.module_practice.serviceimpl;

import android.content.Context;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.qyhl.module_practice.newhome.PracticeNewHomeFragment;
import com.qyhl.webtv.basiclib.base.BaseFragment;
import com.qyhl.webtv.commonlib.constant.HomeStyle;
import com.qyhl.webtv.commonlib.constant.ServicePathConstant;
import com.qyhl.webtv.commonlib.service.PracticeService;

@Route(path = ServicePathConstant.PRACTICE_SERVICE)
public class PracticeServiceImpl implements PracticeService {
    @Override
    public BaseFragment getPracticeHomeFragment(String insId, String menuName, boolean isHome, boolean isTop) {
        return PracticeNewHomeFragment.newInstance(insId, menuName, isHome, isTop);
    }

    @Override
    public BaseFragment getPracticeHomeFragment(String insId, String menuName, boolean isHome, HomeStyle homeStyle, boolean isTop) {
        return PracticeNewHomeFragment.newInstance(insId, menuName, isHome, homeStyle, isTop);
    }

    @Override
    public void init(Context context) {

    }
}
